﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IoCNamed.Persistence
{
    class DbPersistence: IPersistence
    {
        public void Add(object obj)
        {
            System.Diagnostics.Debug.WriteLine("DbPersistence.Add; ConnectionString={0}", ConnectionString);
            // коннектимся к ConnectionString и записываем    
        }

        public string ConnectionString { get; private set; }

        public DbPersistence(string connectionString)
            : base()
        {
            ConnectionString = connectionString;
        }
    }
}
